#include "List.h"

LTNode* BuyLTNode(LTDataType x)
{
	LTNode* newnode = (LTNode*)malloc(sizeof(LTNode));

	newnode->data = x;

	return newnode;
}



void ListPushBack(LTNode* phead, LTDataType x)
{
	arrest(phead);

}

void ListInsert(LTNode* pos, LTDataType x)
{
	assert(pos);

	LTNode* newnode = BuyLTNode(x);

	newnode->prev = pos->prev;
	newnode->next = pos;
	pos->prev = newnode;
	pos->prev->next = newnode;
}


void ListErase(LTNode* pos)
{

}